package com.boot4g.admin.module.sys.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.boot4g.admin.module.sys.dao.SysLogDao;
import com.boot4g.admin.module.sys.service.SysLogService;
import com.boot4g.entity.SysLogEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;


@Service("sysLogService")
public class SysLogServiceImpl extends ServiceImpl<SysLogDao, SysLogEntity> implements SysLogService {
	@Autowired
	private SysLogDao sysLogDao;


	@Override
	public Page<SysLogEntity> selectByPage(Page page, Map<String, Object> params) {
		page.setRecords(sysLogDao.selectByPage(page,params));
		return page;
	}
}
